/*
 * TODO
 */
package com.xtrip.qmghotel.controller;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.xtrip.hotel.service.HotelService;

/**
 * @project xtrip
 * @author shiming.yao
 * @time 2013-3-14
 */
@Controller("tshotel")
@RequestMapping("tshotel")
public class QmgHotelController {

	@Resource(name="hotelService")
	private HotelService service;
	
	@RequestMapping("/")
	public String index(HttpServletRequest request,HttpServletResponse response,Model model){
		model.addAttribute("type","qmghotel");
		return "/qmghotel/qmg_hotel_main";
	}
}
